package com.cssy.yd.logic.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.transaction.annotation.Transactional;
import com.cssy.base.service.IBaseService;
import com.cssy.yd.logic.entity.LogicWhCheckMissionDO;
import com.cssy.yd.logic.entity.LogicWhCheckMissionItemDO;
import com.plat.exception.SyBaseException;
import com.plat.helper.SearchConditions;
import com.plat.helper.SearchResult;
import com.yuendong.sy.exception.SyCodeException;

public interface ILogicWhCheckMissionService extends IBaseService<LogicWhCheckMissionDO> {

	public SearchResult findItemListByExample(SearchConditions scs) throws SyBaseException;
	
	public Integer deleteItem(String id) throws SyBaseException;
	
	public Integer updateItem(LogicWhCheckMissionItemDO t) throws SyBaseException;
	
	public LogicWhCheckMissionItemDO saveItem(LogicWhCheckMissionItemDO t) throws SyBaseException;
	
	public LogicWhCheckMissionItemDO findItemListById(String id) throws SyBaseException;
	
	public List<LogicWhCheckMissionItemDO> findItemListByCheckMissionID(String checkMissionID) throws SyBaseException;
	
	@Transactional
	public void checksave(HttpServletRequest request,LogicWhCheckMissionDO curAP)throws SyBaseException,SyCodeException;
		
}
